class CreateWorkplaces < ActiveRecord::Migration
  def self.up
    create_table :workplaces do |t|
      t.string :name
      t.string :telephone
      t.date :startyear
      t.date :endyear
      t.string :position
			t.integer :profile_id

      t.timestamps
    end
  end

  def self.down
    drop_table :workplaces
  end
end
